import Color.Blue;
import Color.Green;
import Color.IColor;
import Color.Red;
import Pen.BrushPen;
import Pen.FountainPen;
import Pen.PenAbstrcat;
import Pen.PencilPen;

public class Main {
    public static void main(String[] args) {
        IColor color = new Red();
        PenAbstrcat pen = new BrushPen(color);
        pen.draw();
        System.out.println("-------------------------------------");
        color = new Green();
        pen = new FountainPen(color);
        pen.draw();
        System.out.println("-------------------------------------");
        color = new Blue();
        pen = new PencilPen(color);
        pen.draw();

    }
}